<?php if (!defined('BASEPATH')) exit('No direct access allowed.');   
class MY_Controller extends CI_Controller { // 原文这里写错   
    
    protected $data_package;
    
    public function __construct() {   
        parent::__construct(); 
        
        //站点标题
        $this->data_package['page_title'] = "站点名称";
        $this->data_package['module_name']="模块名称";
        $this->data_package['fisrt_nav'] = "一级标题";
        $this->data_package['second_nav'] = "一级标题";
        
        //资源路径
        $this->data_package['resource_basic'] = "/Public/";
        
        $current_page = uri_string();
        $current_page = str_replace("/", "-", $current_page);
        $this->data_package['page_tag']=$current_page;
//        print_r($this->data_package);
        
    }   
    
    
    /*
     * 下发验证码的功能
     * 
     * 
     */
    
    
   
}